package com.etcn.modules.busi.launch.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.etcn.common.controller.BaseController;
import com.etcn.modules.busi.launch.pojo.WmStartimageConfig;
import com.etcn.modules.busi.launch.service.IWmStartimageConfigService;

import org.springframework.web.bind.annotation.ResponseBody;
import com.etcn.common.annotation.Manage;

/**
 * 启动图controller
 * @author guozc
 * @date: 2018-03-28 17:33:58
 */
@Controller
@RequestMapping("/v1/launch/startimages")
public class WmStartimageConfigController extends BaseController {

	@Autowired
    private IWmStartimageConfigService wmStartimageConfigService;

    /**
     * 查询启动图
     */
    @Manage
    @RequestMapping(value = "", method = RequestMethod.GET)
    public @ResponseBody Object getStartimages(WmStartimageConfig wmStartimageConfig) throws Exception{
    	return wmStartimageConfigService.getStartImages();
    }
    
}